package org.gthelper.order;

import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.InputStream;
import java.io.OutputStream;

import javax.servlet.http.HttpServletRequest;


public class OrderInfo
{
	private byte[] orderData;
	public int order;
	public String userID;
	public InputStream mainInput;
	public OutputStream mainOutput;
	public HttpServletRequest req;
	public DataInputStream orderStream;
	
	public void setOrderStream(byte[] data)
	{
		this.orderData = data;
		this.orderStream = new DataInputStream(new ByteArrayInputStream(this.orderData));
	}
	
	public void setMainStream(InputStream input,OutputStream output,HttpServletRequest req)
	{
		this.mainInput = input;
		this.mainOutput = output;
		this.req = req;
	}
	
}